Class GameStartState
java.lang.Object
awgd.engine.states.AbstractState
GameStartState
- All Implemented Interfaces:
- KeyListener, EventListener
public class GameStartState
- extends awgd.engine.states.AbstractState
- implements KeyListener
|
Constructor Summary |
GameStartState(awgd.engine.states.StateMachine fsm)
|
background
public Image background
bimg
public awgd.engine.game.ScreenImage bimg
Background
public awgd.engine.game.Sprite Background
playerColl
public awgd.engine.math.Vector2d playerColl
enemyColl
public awgd.engine.math.Vector2d enemyColl
jumpCounter
public int jumpCounter
counter
public int counter
jumping
public boolean jumping
jump_lock
public boolean jump_lock
jump_counter
public int jump_counter
falling
public boolean falling
highScore
public int highScore
GameStartState
public GameStartState(awgd.engine.states.StateMachine fsm)
enter
public void enter()
- Specified by:
enter in class awgd.engine.states.AbstractState
exit
public void exit()
- Specified by:
exit in class awgd.engine.states.AbstractState
update
public void update()
- Specified by:
update in class awgd.engine.states.AbstractState
paint
public void paint(Graphics g)
- Specified by:
paint in class awgd.engine.states.AbstractState
enemyControl
public void enemyControl()
moveEnemy
public void moveEnemy()
playerJump
public void playerJump(boolean value)
playerFall
public void playerFall(boolean value)
PlayerMove
public void PlayerMove(KeyEvent e)
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed in interface KeyListener
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped in interface KeyListener
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased in interface KeyListener